import {StyleSheet} from 'react-native';
import px2dp from '../../utils/px2dp';

const styles = StyleSheet.create({
  couse_detail: {
    flexDirection: 'row',
    paddingHorizontal: px2dp(26),
    marginVertical: px2dp(12),
  },
  couse_cover_box: {
    width: px2dp(219),
    height: px2dp(224),
    marginRight: px2dp(21),
    backgroundColor: '#eee',
  },
  couse_cover: {
    width: px2dp(219),
    height: px2dp(224),
  },
  video_icon: {
    position: 'absolute',
    left: '50%',
    top: '50%',
    marginLeft: px2dp(-16),
    marginTop: px2dp(-16),
    width: px2dp(32),
    height: px2dp(32),
  },
  couse_detail_info: {
    flex: 1,
    paddingVertical: px2dp(13),
    height: px2dp(224),
  },
  couse_name: {
    fontWeight: 'bold',
    fontSize: px2dp(28),
    color: '#333',
  },
  couse_teacher: {
    fontSize: px2dp(22),
    color: '#333',
    marginVertical: px2dp(18),
  },
  couse_time: {
    fontSize: px2dp(16),
    color: '#666',
  },
  couse_money: {
    color: '#EB0029',
    fontWeight: 'bold',
    fontSize: px2dp(22),
    marginVertical: px2dp(13),
  },
  couse_desc: {
    fontSize: px2dp(16),
    color: '#999',
    lineHeight: px2dp(24),
  },
  couse_desc_title: {
    color: '#333',
  },
});

export default styles;
